﻿@model WebSimplicity.Admin.Models.Installer
@{
    ViewBag.Title = "Web Simplicity Installer";
}
<h2>
    Install Web Simplicity</h2>
<script src="@Url.Content("~/content/js/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/content/js/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@{using (Html.BeginForm("install", "install", FormMethod.Post, new { @class = "form" }))
  {
    <fieldset>
        <legend>Database Settings</legend>
        <p>
            @Html.EditorFor(model => model.Server)
        <p>
            @Html.EditorFor(model => model.Database)</p>
        <p>
           @Html.EditorFor(model => model.Username)</p>
        <p>
            @Html.EditorFor(model => model.Password)</p>
    </fieldset>
    <fieldset>
        <legend>Select Install Type</legend>
        @Html.EditorFor(model => model.InstallType)
    </fieldset>
    <fieldset>
        <legend>Select Components</legend>
        <!--@Html.EditorFor(model => model.InstallBlogs)
        @Html.EditorFor(model => model.InstallForums)
        @Html.EditorFor(model => model.InstallStores)-->
    </fieldset>
    <a class="button submit css_right"><span><span>
        <img alt="" src="@Url.Content("~/content/icons/navigation-000-white.png")" width="16" height="16">Next</span></span></a>
  }
}

@section scripts{
<script src="@Url.Content("~/content/js/functions.js")" type="text/javascript"></script>
}    
